<?php


namespace App\Model\Base;


/**
 * Class ApiResponseBody
 * @package App\Model\Base
 * @property integer $response_id
 * @property integer $api_id
 * @property string $body
 * @property string $demo
 * @property string $content_type
 * @property string $remark
 * @property string $deleted_at
 * @property string $created_at
 * @property string $updated_at
 */
class ApiResponseBody extends BaseModel
{
    public $primaryKey = 'response_id';
    public $table = 'api_response_body';
    public $fillable = [
        'api_id',
        'body',
        'demo',
        'content_type',
        'remark',
    ];

    /**
     * @return int
     */
    public function getResponseId(): int
    {
        return (int)$this->response_id;
    }

    /**
     * @param int $response_id
     */
    public function setResponseId(int $response_id): void
    {
        $this->response_id = (int)$response_id;
    }

    /**
     * @return int
     */
    public function getApiId(): int
    {
        return (int)$this->api_id;
    }

    /**
     * @param int $api_id
     */
    public function setApiId(int $api_id): void
    {
        $this->api_id = (int)$api_id;
    }

    /**
     * @return string
     */
    public function getBody(): string
    {
        return (string)$this->body;
    }

    /**
     * @param string $body
     */
    public function setBody(string $body): void
    {
        $this->body = (string)$body;
    }

    /**
     * @return string
     */
    public function getDemo(): string
    {
        return (string)$this->demo;
    }

    /**
     * @param string $demo
     */
    public function setDemo(string $demo): void
    {
        $this->demo = (string)$demo;
    }

    /**
     * @return string
     */
    public function getContentType(): string
    {
        return (string)$this->content_type;
    }

    /**
     * @param string $content_type
     */
    public function setContentType(string $content_type): void
    {
        $this->content_type = (string)$content_type;
    }

    /**
     * @return string
     */
    public function getRemark(): string
    {
        return (string)$this->remark;
    }

    /**
     * @param string $remark
     */
    public function setRemark(string $remark): void
    {
        $this->remark = (string)$remark;
    }

}